<head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>支付宝-天天领红包！</title>
        <script>
            !(function (win, doc) {
                function setFontSize() {
                    var winWidth = window.innerWidth;
                    doc.documentElement.style.fontSize = (winWidth / 750) * 100 + 'px';
                }
                var evt = 'onorientationchange' in win ? 'orientationchange' : 'resize';
                var timer = null;
                win.addEventListener(evt, function () {
                    clearTimeout(timer);
 
                    timer = setTimeout(setFontSize, 300);
                }, false);
                win.addEventListener("pageshow", function (e) {
                    if (e.persisted) {
                        clearTimeout(timer);
 
                        timer = setTimeout(setFontSize, 300);
                    }
                }, false);
                //初始化
                setFontSize();
            }(window, document));
        </script>
        <style>
            body {
                background: #118eea;
            }
 
            .pop {
                width: 7.06rem;
                height: 5.5rem;
                margin: .5rem auto;
                background: url(http://s.baidustatie.com/t/img/pop-bg.png) no-repeat;
                background-size: 7.06rem 5.5rem;
                text-align: center;
            }
 
            h3 {
                padding-top: 1.8rem;
                color: #db325d;
                font-size: .3rem;
            }
 
            button {
                width: 2.97rem;
                height: .95rem;
                margin: 1.6rem auto 0;
                border: none;
                background: url(http://s.baidustatie.com/t/img/btn.png) no-repeat;
                background-size: 2.97rem .95rem;
            }
 
            button:focus {
                outline: none;
            }
        </style>
    </head>
 
    <body>
        <div class="pop">
            <h3>你有一个红包，打开支付宝领取</h3>
            <button onclick="window.location.href = 'https://qr.alipay.com/c1x00859e0mcwz34jakb8d1'"></button> 
        </div>
 
 
</body>